﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetCenter.aspx.cs" Inherits="XYTXL.View.SetCenter" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=8"/>
    <title>修改密码</title>
    <link rel="stylesheet" href="/View/CSS/bootstrap3.3.5/css/bootstrap.css" />
    <link rel="stylesheet" href="/View/JS/jQuery-Validation-Engine-2.6.2/css/validationEngine.jquery.css" />
    <link href="/View/JS/umeditor122/themes/default/css/umeditor.css" type="text/css" rel="stylesheet" />
    <script src="/View/JS/jquery-1.11.2.min.js"></script>  
    <script type="text/javascript" src="/View/CSS/bootstrap3.3.5/js/bootstrap.js"></script>
    <script src="/View/JS/jQuery-Validation-Engine-2.6.2/js/jquery.validationEngine-zh_CN.js" type="text/javascript" charset="utf-8"></script>
    <script src="/View/JS/jQuery-Validation-Engine-2.6.2/js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
    <script src="/View/JS/FTCommon.js"></script>
    <script type="text/javascript">
        function CheckData() {
            if (typeof (getdata) === "function") {
                getdata();
            }
            if (confirm('你确定要保存吗？')) {
                return true;
            }
            else {
                return false;
            }
        }
        $(document).ready(function () {
            ComFunJS.initForm();
        });

        </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container-fluid maindiv" style="margin-top: 20px">
            <div class="row">
                <div class="col-xs-10">
                    <div class="tabbable">
                        <ul class="nav nav-tabs" role="tablist">
                            <li class="active"><a href="#tabForm" data-toggle="tab" style="font-size: 16px;">
                                <asp:Label runat="server" ID="lblTitle" Font-Bold="True"  /></a></li>
                            <li class="pull-right">
                                <asp:Button Text="更新数据" ID="btSendForm" runat="server" CssClass="btn btn-success btn-large" OnClientClick=" if(!CheckData()){return false;}" OnClick="btSendForm_Click" Width="150px" />
                            </li>
                        </ul>
                        <div class="tab-content" id="condv" style="overflow: hidden">
                            <div class="tab-pane fade in active" id="tabForm" style="padding-top: 10px;margin-bottom:10px">

                                <asp:PlaceHolder runat="server" ID="UserControl" />
                                <div class="row">
                                    <div class="col-xs-8">
                                        <div class="form-group">
                                            <label>旧密码</label>
                                            <asp:TextBox ID="txtPwdO" runat="server" TextMode="Password" CssClass="form-control validate[required]"></asp:TextBox>
                                        </div>
                                        <div class="form-group">
                                            <label>新密码</label>
                                            <asp:TextBox ID="txtPwdN" runat="server" TextMode="Password" CssClass="form-control validate[required]"></asp:TextBox>
                                        </div>
                                        <div class="form-group">
                                            <label>确认新密码</label>
                                            <asp:TextBox ID="txtPwdC" runat="server" TextMode="Password" CssClass="form-control validate[required,equals[txtPwdN]]"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="col-xs-4"></div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="col-xs-2">
                </div>

            </div>
        </div>
    </form>
</body>
</html>
